package lab01;

import java.util.Random;
import java.util.Scanner;

/**
 * Created by V555 on 2017/10/16.
 */
public class Test08 {
    public static void main(String[] args) {
        int i;
        i=1+new Random().nextInt(100);
        Scanner scanner2=new Scanner(System.in);
        int n=0;
        while (n!=i){
            n = scanner2.nextInt();
            if (n > i)
                System.out.println("猜大了");

            else if(n<i)
                System.out.println("猜小了");
        }
        if(n==i)
            System.out.println("猜对了");
    }

}




